package com.ikun.admin.modules.gen.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @ClassName CreateTableAndCodeParamVo
 * @Description:
 * @CreateDate: 2024/4/13 18:07
 */
@Data
@ApiModel("建表参数vo")
public class CreateTableAndCodeParamVo {

    @ApiModelProperty("需要建表的id集合")
    @NotNull(message = "请选择数据表")
    @NotEmpty(message = "选择数据表为空哦")
    private List<Long> tableIdList;

    @ApiModelProperty("是否生成代码")
    private Boolean generateCode;


}
